package com.test.mind;

public class Main {
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <= 151; i++) {
            sum = sum + i;
        }
        System.out.println(sum);

//        System.out.println((1+100)*100/2);
        System.out.println((1+151)*151/2);
    }
}
